﻿using Easy.Common.Results;
using Easy.Services.Dtos;
using Easy.Services.Entities;
using System.Linq.Expressions;

namespace Easy.Services.Interface
{
    public interface IInterService
    {

        long Add(Inter model);

        List<Inter> GetList(Expression<Func<Inter, bool>> expression = null);

        InterStatisticsDTO GetStatistics(Expression<Func<Inter, bool>> expression = null);

        long GetTotal(Expression<Func<Inter, bool>> whereExpression = null, bool includeDelete = false);

    }
}
